<?php
	require_once '../connect.php';
	$title=$_GET['title'];
	$query="DELETE FROM library WHERE title='$title'";
	if(mysqli_query($con, $query)){
		echo "delete success";
	}
	else {
		echo "delete fail";
	}